<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>我的订单</title>
     <link rel="icon" href="/img/favicon.ico">

    <link rel="stylesheet" type="text/css" href="/css/all.css" />
    <link rel="stylesheet" type="text/css" href="/css/pages-seckillOrder.css" />
</head>

<body>
    <!-- 头部栏位 -->
    <!--页面顶部-->
<div id="nav-bottom">
	<!--顶部-->
	<div class="nav-top">
		<div class="top">
			<div class="py-container">
				<div class="shortcut">
					<ul class="fl">
						<li class="f-item">畅购欢迎您！</li>
						<li class="f-item">请<a href="login.html" target="_blank">登录</a>　<span><a href="register.html" target="_blank">免费注册</a></span></li>
					</ul>
					<div class="fr typelist">
						<ul class="types">
							<li class="f-item"><span>我的订单</span></li>
							
							<li class="f-item"><span><a href="cart.html" target="_blank">我的购物车</a></span></li>
							<li class="f-item"><span><a href="home.html" target="_blank">我的畅购</a></span></li>			
							<li class="f-item"><span>畅购会员</span></li>						
							<li class="f-item"><span>企业采购</span></li>						
							<li class="f-item"><span>关注畅购</span></li>
							<li class="f-item"><span><a href="cooperation.html" target="_blank">合作招商</a></span></li>
							<li class="f-item"><span><a href="shoplogin.html" target="_blank">商家后台</a></span></li>				
							<li class="f-item"><span>网站导航</li>
						</ul>
					</div>
					
				</div>
			</div>
		</div>

		<!--头部-->
		<div class="header">
			<div class="py-container">
				<div class="yui3-g Logo">
					<div class="yui3-u Left logoArea">
						<a class="logo-bd" title="畅购" href="index.html" target="_blank"></a>
					</div>
					<div class="yui3-u Rit searchArea">
						<div class="search">
							<form action="" class="sui-form form-inline">
								<!--searchAutoComplete-->
								<div class="input-append">
									<input type="text" id="autocomplete"  class="input-error input-xxlarge" />
									<button class="sui-btn btn-xlarge btn-danger" type="button">搜索</button>
								</div>
							</form>
						</div>
					</div>
					
				</div>

			</div>
		</div>
	</div>
</div>

    <!--header-->
    <div id="account">
        <div class="py-container">
            <div class="yui3-g home">
                <!--左侧列表-->
                <div class="yui3-u-1-6 list">

                    <div class="person-info">
                        <div class="person-photo"><img src="./img/_/photo.png" alt=""></div>
                        <div class="person-account">
                            <span class="name">Michelle</span>
                            <span class="safe">账户安全</span>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                    <div class="list-items">
						<dl>
							<dt><i>·</i> 订单中心</dt>
							<dd ><a href="/api/worder/toOrderPage"  class="list-active" >我的订单</a></dd>
							<dd><a href="/api/worder/toOrderPay" >待付款</a></dd>
							<dd><a href="/api/worder/toOrderSend" >待发货</a></dd>
							<dd><a href="/api/worder/toOrderReceive" >待收货</a></dd>
							<dd><a href="/api/worder/toOrderEvaluate" >待评价</a></dd>
						</dl>
						<dl>
							<dt><i>·</i> 我的中心</dt>
							<dd><a href="/api/worder/mycollection">我的收藏</a></dd>
							<dd><a href="/api/worder/myfootmark">我的足迹</a></dd>

						</dl>
						<dl>
							<dt><i>·</i> 物流消息</dt>
						</dl>
						<dl>
							<dt><i>·</i> 设置</dt>
							<dd><a href="/api/wuser/info">个人信息</a></dd>
							<dd><a href="/api/wuser/address/list">地址管理</a></dd>
							<dd><a href="/api/wuser/password">安全管理</a></dd>
						</dl>
                    </div>
                </div>
                <!--右侧主内容-->
                <div class="yui3-u-5-6 order-pay">
                    <div class="body">
                        <div class="table-title">
                            <table class="sui-table  order-table">
                                <tr>
                                    <thead>
                                        <th width="35%">宝贝</th>
                                        <th width="5%">单价</th>
                                        <th width="5%">数量</th>
                                        <th width="10%">实付款</th>
                                        <th width="10%">交易状态</th>
                                        <th width="10%">交易操作</th>
                                    </thead>
                                </tr>
                            </table>
                        </div>
                        <div class="order-detail">
                            <div class="orders" th:each="order,orderStat:${orderList}">
                                <div class="choose-title" >
                                    <label data-toggle="checkbox" class="checkbox-pretty ">
                                           <input type="checkbox" checked="checked"><span>订单编号: <em th:text="${order.orderId}"></em></span>
                                     </label>
                                </div>
                                <table class="sui-table table-bordered order-datatable" th:each="orderItem,orderItemStat:${order.OrderItemList}"  >
                                    <tbody>
                                        <tr >
											<span th:if="${orderItemStat.index}==0">
												<td width="35%">
													<div class="typographic"><img style="width: 60px;height: 60px" th:src="${orderItem.image}" />
														<a href="#" class="block-text"><em th:text="${orderItem.name}"></em></a>
													</div>
												</td>
												<td width="5%" class="center">
													<ul class="unstyled">
														<li class="o-price">¥<em th:text="${orderItem.price}"></em></li>
														<li>¥<em th:text="${orderItem.price}"></em></li>
													</ul>
												</td>
												<td width="5%" class="center"><em th:text="${orderItem.num}"></em>
												</td>
												<td width="10%" class="center" th:rowspan="${orderItemStat.size}">
													<ul class="unstyled">
														<li>¥<em th:text="${order.payMoney}"></em></li>
														<li>（含运费：￥0.00）</li>
													</ul>
												</td>
												<td width="10%" cl ass="center" th:rowspan="${orderItemStat.size}">
													<ul class="unstyled" th:if="${order.payStatus}==0">
														<div th:switch="${order.orderStatus}">
															<li th:case="1">等待买家付款</li>
															<li th:case="4">交易关闭</li>
														</div>
													</ul>
													<ul class="unstyled" th:if="${order.payStatus}==1" >
														<div th:switch="${order.consignStatus}">
															<li th:case="0">买家已付款,未发货</li>
															<li th:case="1">已发货,物流派件中</li>
															<li th:case="2">已送达,交易完成</li>
														</div>
													</ul>
												</td>
												<td width="10%" class="center" th:rowspan="${orderItemStat.size}">
													<ul class="unstyled" th:if="${order.payStatus}==0">
														<div th:switch="${order.orderStatus}">
															<li th:case="1"><a th:href="|/api/worder/toPayPage?orderId=${order.orderId}|" class="sui-btn btn-info" >立即付款</a></li>
															<li><a th:href="|/api/worder/closeOrder?orderId=${order.orderId}|" class="sui-btn btn-info" >取消订单</a></li>
															<li th:case="4"><a>交易关闭</a></li>
														</div>
													</ul>
													<ul class="unstyled" th:if="${order.payStatus}==1" >
														<div th:switch="${order.consignStatus}">
															<li><a href="#" class="sui-btn btn-info" th:case="0">提醒发货</a></li>
															<li><a th:href="|/api/worder/take?orderId=${order.orderId}&operator=${order.username}|" class="sui-btn btn-info" th:case="1">确认收货</a></li>
															<li><a th:href="|/api/worder/take?orderId=${order.orderId}&operator=${order.username}|" class="sui-btn btn-info" th:case="2">评价</a></li>
														</div>
													</ul>
												</td>
											</span>
											<span th:if="${orderItemStat.index}!=0">
												<td width="35%">
													<div class="typographic"><img style="width: 60px;height: 60px" th:src="${orderItem.image}" />
														<a href="#" class="block-text"><em th:text="${orderItem.name}"></em></a>
													</div>
												</td>
												<td width="5%" class="center">
													<ul class="unstyled">
														<li class="o-price">¥<em th:text="${orderItem.price}"></em></li>
														<li>¥<em th:text="${orderItem.price}"></em></li>
													</ul>
												</td>
												<td width="5%" class="center"><em th:text="${orderItem.num}"></em>
												</td>
												<td width="10%" class="center" >
												</td>
												<td width="10%" cl ass="center">
												</td>
												<td width="10%" class="center">
												</td>
											</span>
                                        </tr>
                                        

                                    </tbody>
                                </table>

                            </div>
  

                            <div class="clearfix"></div>
                        </div>

                        <div class="like-title">
                            <div class="mt">
                                <span class="fl"><strong>热卖单品</strong></span>
                            </div>
                        </div>
                        <div class="like-list">
                            <ul class="yui3-g">
                                <li class="yui3-u-1-4">
                                    <div class="list-wrap">
                                        <div class="p-img">
                                            <img src="./img/_/itemlike01.png" />
                                        </div>
                                        <div class="attr">
                                            <em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
                                        </div>
                                        <div class="price">
                                            <strong>
											<em>¥</em>
											<i>3699.00</i>
										</strong>
                                        </div>
                                        <div class="commit">
                                            <i class="command">已有6人评价</i>
                                        </div>
                                    </div>
                                </li>
                                <li class="yui3-u-1-4">
                                    <div class="list-wrap">
                                        <div class="p-img">
                                            <img src="./img/_/itemlike02.png" />
                                        </div>
                                        <div class="attr">
                                            <em>Apple苹果iPhone 6s/6s Plus 16G 64G 128G</em>
                                        </div>
                                        <div class="price">
                                            <strong>
											<em>¥</em>
											<i>4388.00</i>
										</strong>
                                        </div>
                                        <div class="commit">
                                            <i class="command">已有700人评价</i>
                                        </div>
                                    </div>
                                </li>
                                <li class="yui3-u-1-4">
                                    <div class="list-wrap">
                                        <div class="p-img">
                                            <img src="./img/_/itemlike03.png" />
                                        </div>
                                        <div class="attr">
                                            <em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
                                        </div>
                                        <div class="price">
                                            <strong>
											<em>¥</em>
											<i>4088.00</i>
										</strong>
                                        </div>
                                        <div class="commit">
                                            <i class="command">已有700人评价</i>
                                        </div>
                                    </div>
                                </li>
                                <li class="yui3-u-1-4">
                                    <div class="list-wrap">
                                        <div class="p-img">
                                            <img src="./img/_/itemlike04.png" />
                                        </div>
                                        <div class="attr">
                                            <em>DELL戴尔Ins 15MR-7528SS 15英寸 银色 笔记本</em>
                                        </div>
                                        <div class="price">
                                            <strong>
											<em>¥</em>
											<i>4088.00</i>
										</strong>
                                        </div>
                                        <div class="commit">
                                            <i class="command">已有700人评价</i>
                                        </div>
                                    </div>
                                </li>

                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 底部栏位 -->
    <!--页面底部-->
<div class="clearfix footer">
	<div class="py-container">
		<div class="footlink">
			<div class="Mod-service">
				<ul class="Mod-Service-list">
					<li class="grid-service-item intro  intro1">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item  intro intro2">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item intro  intro3">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item  intro intro4">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
					<li class="grid-service-item intro intro5">

						<i class="serivce-item fl"></i>
						<div class="service-text">
							<h4>正品保障</h4>
							<p>正品保障，提供发票</p>
						</div>

					</li>
				</ul>
			</div>
			<div class="clearfix Mod-list">
				<div class="yui3-g">
					<div class="yui3-u-1-6">
						<h4>购物指南</h4>
						<ul class="unstyled">
							<li>购物流程</li>
							<li>会员介绍</li>
							<li>生活旅行/团购</li>
							<li>常见问题</li>
							<li>购物指南</li>
						</ul>

					</div>
					<div class="yui3-u-1-6">
						<h4>配送方式</h4>
						<ul class="unstyled">
							<li>上门自提</li>
							<li>211限时达</li>
							<li>配送服务查询</li>
							<li>配送费收取标准</li>
							<li>海外配送</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>支付方式</h4>
						<ul class="unstyled">
							<li>货到付款</li>
							<li>在线支付</li>
							<li>分期付款</li>
							<li>邮局汇款</li>
							<li>公司转账</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>售后服务</h4>
						<ul class="unstyled">
							<li>售后政策</li>
							<li>价格保护</li>
							<li>退款说明</li>
							<li>返修/退换货</li>
							<li>取消订单</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>特色服务</h4>
						<ul class="unstyled">
							<li>夺宝岛</li>
							<li>DIY装机</li>
							<li>延保服务</li>
							<li>品优购E卡</li>
							<li>品优购通信</li>
						</ul>
					</div>
					<div class="yui3-u-1-6">
						<h4>帮助中心</h4>
						<img src="./img/wx_cz.jpg">
					</div>
				</div>
			</div>
			<div class="Mod-copyright">
				<ul class="helpLink">
					<li>关于我们<span class="space"></span></li>
					<li>联系我们<span class="space"></span></li>
					<li>关于我们<span class="space"></span></li>
					<li>商家入驻<span class="space"></span></li>
					<li>营销中心<span class="space"></span></li>
					<li>友情链接<span class="space"></span></li>
					<li>关于我们<span class="space"></span></li>
					<li>营销中心<span class="space"></span></li>
					<li>友情链接<span class="space"></span></li>
					<li>关于我们</li>
				</ul>
				<p>地址：北京市昌平区建材城西路金燕龙办公楼一层 邮编：100096 电话：400-618-4000 传真：010-82935100</p>
				<p>京ICP备08001421号京公网安备110108007702</p>
			</div>
		</div>
	</div>
</div>
<!--页面底部END-->
    


</body>

</html>